PATHMac OS 8 Developer Documentation > Operating System Services > Multiprocessing Services >

Adding Multitasking Capability to Applications Using Multiprocessing Services

   

MPDataToCode

Designates the specified block of memory as executable code.

void MPDataToCode (
                     LogicalAddress address,
                     ByteCount size);
address
A pointer of type LogicalAddress that specifies the starting address of the memory block you want to designate as code.
size
A value of type ByteCount that specifies the size of the memory block.
DISCUSSION

Since PowerPC processors need to differentiate between code and data in memory, you should call this function to tag any executable code that your tasks may generate.

VERSION NOTES

Introduced with Multiprocessing Services 2.0.


© 1999 Apple Computer, Inc. – (Last Updated 07 May 99)